package com.game;

import system.KeyBoard;
import android.app.Activity;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.Window;
import android.view.WindowManager;

public class FinalBattle extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);   
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);   
        setContentView(new GameView(this));
        
    }
    @Override
    public boolean onKeyDown  (int keyCode, KeyEvent event)
    {
        KeyBoard.onKeyDown(keyCode, event);
        super.onKeyDown(keyCode, event);
        return true;
    }

    @Override
    public boolean onKeyUp (int keyCode, KeyEvent event)
    {
	    KeyBoard.onKeyUp(keyCode, event);
	    return super.onKeyUp(keyCode, event);
    } 
}